package com.cmc.cloud.cmclink.doc.vo.manifestvo.manifest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 舱单主更新 Request VO
 *
 * @author chenzheng
 */
@Schema(description = "管理后台 - 子舱单主更新")
@Data
@ToString(callSuper = true)
public class ManifestTransitTermReqVO {

    @Schema(description = "订舱ids", requiredMode = Schema.RequiredMode.REQUIRED, example = "9636")
    private List<Long> manifestIdList;

    @Schema(description = "中转类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{manifest.transitterm.notblank}")
    private String transitTerm;

}
